package combine.order.model;

public class BOMItem {

	private long bomItemId;

	private long orderId;

	private long productId;
	
	private long bomItemExtraId;
	
	private BOMItemExtra extra;
	
	private int orderNumber;
	
	private Order order;

	private MaterialProduct product;
	
	public BOMItem(long bomItemId, long orderId, long productId,
			long bomItemExtraId, BOMItemExtra extra, Order order,
			MaterialProduct product, int orderNumber) {
		super();
		this.bomItemId = bomItemId;
		this.orderId = orderId;
		this.productId = productId;
		this.bomItemExtraId = bomItemExtraId;
		this.extra = extra;
		this.order = order;
		this.product = product;
		this.orderNumber = orderNumber;
	}

	public long getBomItemId() {
		return bomItemId;
	}

	public void setBomItemId(long bomItemId) {
		this.bomItemId = bomItemId;
	}


	public long getProductId() {
		return productId;
	}

	public void setProductId(long productId) {
		this.productId = productId;
	}

	public MaterialProduct getProduct() {
		return product;
	}

	public void setProduct(MaterialProduct product) {
		this.product = product;
	}

	public long getOrderId() {
		return orderId;
	}

	public void setOrderId(long orderId) {
		this.orderId = orderId;
	}

	public Order getOrder() {
		return order;
	}

	public void setOrder(Order order) {
		this.order = order;
	}

	public long getBomItemExtraId() {
		return bomItemExtraId;
	}

	public void setBomItemExtraId(long bomItemExtraId) {
		this.bomItemExtraId = bomItemExtraId;
	}

	public BOMItemExtra getExtra() {
		return extra;
	}

	public void setExtra(BOMItemExtra extra) {
		this.extra = extra;
	}

	public int getOrderNumber() {
		return orderNumber;
	}

	public void setOrderNumber(int orderNumber) {
		this.orderNumber = orderNumber;
	}
	
}
